// #ifndef VUE3
import Vue from 'vue'
import App from './App'

import plugins from './plugins' // plugins
import './permission' // permission

Vue.use(plugins)

Vue.config.productionTip = false
 
App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
 
import plugins from './plugins' // plugins
import './permission' // permission
 
App.mpType = 'app'
export function createApp() {
	const app = createSSRApp(App)
 
    app.use(plugins)
	return {
		app
	}
}
// #endif